package com.gzist.elderlyserviceplatform.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 修改管理员密码DTO
 */
@Data
@Schema(name = "UpdatePasswordDTO", description = "修改管理员密码DTO")
public class UpdatePasswordDTO implements Serializable {

    @Schema(accessMode = Schema.AccessMode.READ_ONLY)
    private static final long serialVersionUID = 1L;

    @Schema(description = "原密码")
    private String oldPassword;

    @Schema(description = "新密码")
    private String newPassword;

    @Schema(description = "确认密码")
    private String confirmPassword;
}